package com.www;

import java.util.Date;

class Student {
    String name;
    private int age;
    private int num=2024;
    public static String class_room;
    {
        System.out.println("实例代码块...");
    }

    public Student(String name, int age, int num) {
        this.name = name;
        this.age = age;
        this.num = num;
        System.out.println("构造代码块....");
    }
    static {
        System.out.println("静态代码块");
    }
}
public class Test {
    public static void main(String[] args) {
    Student student=new Student("LILA",10,15);
        System.out.println("============");
        Student student1=new Student("bobo",12,15);;
    }
}